
public class W6126_33 {
	public static void main(String[] args) 
{
int i=0,j=0;
do{
	for(j=0;j<i;j++)
	{
                   System.out.print(j);
	}
System.out.println(i);
            i++;
     }while(i<10);
 }


}